package com.yida.gwj.expend.outside.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 查询楼栋下房屋请求
 *
 * @author wkz
 * @date 2023/03/31
 */
@ApiModel(description = "查询楼栋下房屋请求")
public class HousesUnderBuildRequest {

    @ApiModelProperty("业务id")
    @NotNull(message = "业务id不能为空")
    private Long bizId;

    @ApiModelProperty("楼栋code")
    @NotBlank(message = "楼栋code不能为空")
    private String buildCode;

    @ApiModelProperty("地区id")
    @NotNull(message = "地区id不能为空")
    private Long areaId;

    @ApiModelProperty("是否选中  0.未选中房屋 1.已选中房屋")
    @NotNull(message = "selectFlag不能为空")
    private Long selectFlag;
    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public String getBuildCode() {
        return buildCode;
    }

    public void setBuildCode(String buildCode) {
        this.buildCode = buildCode;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getSelectFlag() {
        return selectFlag;
    }

    public void setSelectFlag(Long selectFlag) {
        this.selectFlag = selectFlag;
    }

    @Override
    public String toString() {
        return "HousesUnderBuildRequest{" +
                "bizId=" + bizId +
                ", buildCode='" + buildCode + '\'' +
                ", areaId=" + areaId +
                ", selectFlag=" + selectFlag +
                '}';
    }
}
